<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p><h1>提交失败！还有<span id="sp">3</span>秒跳转到首页...</h1></p>
<script>
    onload=function () {
        setInterval(go,1000)
    };
    var x=2;
    function go() {

        if (x>=0){
            document.getElementById("sp").innerText=x;
        }else {
            location.href="/Domain/ShowDomain";
        }
        x--;
    }
</script>
</body>


</html>